package com.woniu.aimd.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MergedCommentDocument {
    private String noteId;
    private String userId;
    private String  comments;  // JSON 数组
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;

    @Override
    public String toString() {
        return "MergedCommentDocument{" +
                "noteId='" + noteId + '\'' +
                ", userId='" + userId + '\'' +
                ", comments='" + comments + '\'' +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                '}';
    }
}